{tpl head}
<script src="{$skin}style/time/mobiscroll_002.js" type="text/javascript"></script>
<script src="{$skin}style/time/mobiscroll_004.js" type="text/javascript"></script>
<link href="{$skin}style/time/mobiscroll_002.css" rel="stylesheet" type="text/css">
<link href="{$skin}style/time/mobiscroll.css" rel="stylesheet" type="text/css">
<script src="{$skin}style/time/mobiscroll.js" type="text/javascript"></script>
<script src="{$skin}style/time/mobiscroll_003.js" type="text/javascript"></script>
<script src="{$skin}style/time/mobiscroll_005.js" type="text/javascript"></script>
<link href="{$skin}style/time/mobiscroll_003.css" rel="stylesheet" type="text/css">
<style>
.list-group-item {
	overflow:hidden
}
select{border:0;border:none;appearance:none;
-moz-appearance:none; /* Firefox */
-webkit-appearance:none; /* Safari 和 Chrome */}
</style>

<header class="header-fix main-nav bg-black header header-lg navbar navbar-fixed-top-xs box-shadow">
  <div class="container">
    <div class="navbar-header aside-sm"> <a class="btn btn-link visible-xs" href="javascript:history.back()"> <i class="icon iconfont">&#xf007a;</i> </a>
      <div class="navbar-brand">日常工作 </div>
      <a class="rbtn radius btn-warning" href="{$back}"> 返回 </a> </div>
  </div>
  </div>
</header>
<form action="" method="post" enctype="multipart/form-data" id="myform" onsubmit="return send();">
<div class="middle-box container loginscreen  animated fadeInDown mt60">
  <div class="m-t">
    <div class="list-group">

      <div class="list-group-item regitem">
        <label class="col-xs-4 lh56">标题：</label>
        <div class="iptbg col-xs-8">
          <input type="text" name="a[title]" class="form-control no-border" placeholder="工作内容">
        </div>
      </div>
      <div class="list-group-item">
        <input type="file" class="span3" name="file" id="file">上传图片
      </div>
      <div class="list-group-item  iptbg">
          <input type="text" name="a[con]" class="form-control no-border textb" placeholder="内容" value="">
      </div>

    </div>
  </div>
</div>
<button type="submit" id="sub" class="foot_btn regsubmit btn btn-lg btn-primary btn-block submit">保存修改</button>
  </form>
<script type="text/javascript">
  function send(){
    return true;
    $.ajax({
      cache: false,
      type: "POST",
      dataType:'json',
      url:'',
      data:$('#myform').serialize(),// 你的formid
      async: false,
      error: function(request) {
        alert("未连接到服务器,提交失败!");
      },
      success: function(data) {
        if(data.status=='err'){
          alert(data.msg);
        }else if(data.status=='ok'){
          alert(data.msg);
          $("#sub").attr("disabled","disabled");
        }
      }
    });
    return false;
  }
</script>
</body>
</html>
